package com.gray.blog.common.annotation;

import com.gray.blog.common.annotation.validated.ArgEnumCheckValidator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = ArgEnumCheckValidator.class)
public @interface ArgEnumCheckTrigger {

    String[] enumGroups() default {};

}
